<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="${ctx}/res/js/systemDictManagement/systemDictList.js"></script>
</head>
	<body>
		<center>
			<table>
				<!-- 查询条件 区域 -->
				<tr>
					<td>
						<div class="list_query">
							<form method="post" id="queryForm">
								<label><span>GROUP_ID</span><input type="text" id="groupId" style="margin-top:10px;" name="groupId" placeholder="请输入GROUP_ID" /></label>
								<label><span>OPTION_KEY</span><input type="text" id="optionKey" style="margin-top:10px;" name="optionKey" placeholder="请输入OPTION_KEY" /></label>
							</form>
						</div>
					</td>
				</tr>

				<!-- 按钮操作区域 -->
				<tr>
					<td>
						<div class="list_toolbar">
							<div class="toolButton" onclick="queryDate(1)">查询</div>
							<div class="toolButton" onclick="createSystemDict()">新建</div>
							<div class="toolButton" onclick="updateSystemDict()">修改</div>
							<div class="toolButton" onclick="deleteSystemDict()">删除项</div>
							<div class="toolButton" onclick="deleteSystemDictByGroupId()">删除组</div>
						</div>
					</td>
				</tr>
				
				<!-- 表头区域 -->
				<tr>
					<td>
						<table class="list_grid">
							<thead>
								<tr>
									<th>GROUP_ID</th>
									<th>OPTION_KEY</th>
									<th>OPTION_VAL</th> 
									<th>OPTION_ORDER</th> 
									<th>CREATE_USER</th>
									<th>CREATE_TIME</th>
									<th style="width: 180px;">LAST_MODIFY_USER</th>
									<th style="width: 180px;">LAST_MODIFY_TIME</th>
									<th style="width: 1px;"></th>              	
								</tr>
							</thead>
						</table>
					</td>
				</tr>
				
				<!-- 数据区域 -->
				<tr>
					<td>
						<div class="list_scrollControlDiv">
							<table class="list_grid" style="border-spacing: 0;">
								<tbody id="tBodyList">
								</tbody>
							</table>
						</div>
					</td>
				</tr>
				
				<!-- 分页控件区域 -->
				<tr>
					<td>
						<div id="pagination" class="pagination"></div>
						<input type="hidden" name="pageType" id="pageType" value="${pageType }"/>
					</td>
				</tr>
			</table>
			
			<!-- 隐藏表单，存储选中的group_id信息 -->
			<form id="submitForm" method="post" action="${ctx}/systemDictManagement/systemDictDetail.do">
				<input type="hidden" name="groupId"/>
				<input type="hidden" name="optionKey"/>
				<input type="hidden" name="currentPage"/>
			</form>	
		</center>
	</body>
</html>